<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="Generator" content="ECSHOP v2.7.3"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>会员信息_{{config('sys.siteName')}}</title>
    <meta name="Keywords" content=""/>
    <meta name="Description" content=""/>
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link type="text/css" rel="stylesheet" href="/home/default/css/cart.css"/>
    <link href="{{$temps_src}}/css/css.css" type="text/css" rel="stylesheet">
    <link type="text/css" rel="stylesheet" href="/home/default/css/BombboxLogin.css"/>
    <link type="text/css" rel="stylesheet" href="/home/default/css/logincommon.css"/>
    <link rel="stylesheet" href="/home/default/css/register.css"/>
    <link rel="stylesheet" href="/admin/css/xadmin.css">
    <script src="/admin/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/admin/js/jquery.min.js"></script>
</head>
<body style="background:#fff;">
@include('home.default.header')
  
<div class="block">
    <div class="">
        <div id="content">
            <div class="login-newbg" style="background-image: url(/home/default/images/login_bg.jpg);"></div>
            <div class="content-layout">
                <div class="login-wrap">
                    <div class="logo-content">
                        <div class="login-others">
                            <h4 style="margin:30px auto;font-size:16px;">欢迎回来！ {{ $userInfo->nickname }} </h2>
                            <div class="title" style="font-size:18px;">@if($userInfo['type'] == 1) 个人会员 @else 企业会员 @endif</div>
                            <div class="info" style="margin-top:30px;">
                            <table class="layui-table">
                                <colgroup>
                                    <col width="80">
                                    <col width="200">
                                </colgroup>
                                <thead>
                                    
                                </thead>
                                <tbody style="text-align:left;">
                                    <tr>
                                    <td><strong>用户名</strong></td>
                                    <td>{{ $userInfo->name }}</td>
                                    </tr>
                                    <tr>
                                    <td><strong>@if($userInfo['type'] == 1) 姓名 @else 公司名称 @endif</strong></td>
                                    <td>{{ $userInfo->nickname }}</td>
                                    </tr>
                                    <tr>
                                    <td><strong>手机号</strong></td>
                                    <td>{{ $userInfo->phone }}</td>
                                    </tr>
                                    <tr>
                                    <td><strong>@if($userInfo['type'] == 1) 身份证号码 @else 机构代码 @endif</strong></td>
                                    <td>{{ $userInfo->idCard }}</td>
                                    </tr>
                                    <tr>
                                    <td><strong>邮箱</strong></td>
                                    <td>{{ $userInfo->email }}</td>
                                    </tr>
                                    <tr>
                                    <td><strong>地址</strong></td>
                                    <td>{{ $userInfo->address }}</td>
                                    </tr>
                                    <tr>
                                    <td><strong>注册时间</strong></td>
                                    <td>{{$userInfo->created_at->format('Y-m-d H:m:s')}}</td>
                                    </tr>
                                    <tr>
                                    <td><strong>更新时间</strong></td>
                                    <td>{{$userInfo->updated_at->format('Y-m-d H:m:s')}}</td>
                                    </tr>
                                </tbody>
                                </table>
                            </div>
                            <div class="layui-btn-group">
                            <a href="/userinfo/edit" class="layui-btn layui-btn-danger">修改信息</a>
                            <a href="/" class="layui-btn" style="margin-left: 60px !important;">返回首页</a>
                            </div>   
                        </div>
                        
                        <div class="clearfix"></div>
                    </div>
                </div>


            </div> 
        </div>
    </div>
</div>
</div>
</div>
</div>
@include('home.default.footer')
</body>
</html>